import {requested} from './axiosed';
//新增飞鱼
export async function login(name, password, type) {
  var url = '/api/fish/login';
  let data = {
    name:name,
    password:password,
    type:type
  };
  let res = await requested(url,'post',data);
  return res.data;
}
